* * * * * * * * * * * * * * * * * * * * H A R D W A R E   N O T E S * * * * * * * * * * * * * * * * * * * * * * * 
 I n   o r d e r   t o   a c t u a t e   t h e   m e m b r a n e   y o u   n e e d : 
 1 )   A r d u i n o _ u n o   
 2 )   L 2 9 8 N   H - B r i d g e 
 3 )   P o w e r   S u p p l y 
 
 S e e   i m a g e   a t t a c h e d   o f   c i r c u i t   ( f i l e :   3 )   C i r c u i t _ i m a g e ) : 
 >   8   w i r e s   a r e   c o n n e c t e d   t o   t h e   H - b r i d g e   a n d   a r e   v i s i b l e   o n   t h e   i m a g e 
 >   T h e   o p t o s e n s o r   r e a d s   t h e   d e f o r m a t i o n   o f   t h e   m e m b r a n e   a n d   t h e   o p t o s e n s o r   s i g n a l   
 i s   c o n n e c t e d   t o   t h e   A r d u i n o   U N O   t h r o u g h   t h e   r e a d   a n a l o g u e   c h a n n e l .   
 
 * * * * * * * * * * * * * * S O F T W A R E   N O T E S * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 T w o   c o d e s   a r e   n e e d e d : 
 1 )   1   c o d e   t o   r u n   t h e   P W M   i n   a r d u i n o   ( 1 )   A r d u i n o _ c o d e _ f o r _ p a p e r . t x t ) .   T h e   a m p l i t u d e   o f   t h e   o s c i l l a t i o n   c a n   b e   m o d i f i e d   b y   c h a n g i n g   t h e   l e d _ p i n   f r o m   1   t o   2 5 5 ,   w h i c h   c h a n g e s   t h e   m a x i m u m   o u t p u t   v o l t a g e .   
 I t   i s   r e c o m m e n d e d   t o   o p e r a t e   a t   m a x i m u m   o u t p u t   v o l t a g e ,   i . e .   2 5 5 .   T h e n   t h e   s t a t e   c h a n g e s   t o   l e d _ p i n ,   0 ,   t o   c h a n g e   f r o m   z e r o   a m p l i t u d e   t o   m a x i m u m   a m p l i t u d e .   T h e   f r e q u e n c y   o f   t h e   o s c i l l a t i o n   i s   a d j u s t e d   w i t h   t i m e   d e l a y   D T .   S e t   D T = 1 0 0 ,   D T = 2 5 0   D T = 1 0 0 0   t o   c h a n g e   f r o m   f a s t ,   i n t e r m e d i a t e   a n d   s l o w   a c t u a t i o n . 
 
 2 )   1   c o d e   i n   p y t h o n   ( 2 )   D a t t a l o g g i n g . p y )   t o   r e a d   t h e   o p t o s e n s o r   s i g n a l   a n d   s t o r e   i t   a n   e x c e l   f i l e .   
 T h i s   c o d e   s h o u l d   b e   r u n   a f t e r   t h e   a r d u i n o   c o d e   i s   r u n n i n g   a n d   t h e   s e r i a l   c o m m u n i c a t i o n   h a s   b e e n   e s t a b l i s h e d .   
 T h e   f i l e   w i l l   g e n e r a t e   a   c s v   f i l e   w i t h   t h e   m e a s u r e m e n t s   o f   t h e   o p t o s e n s o r . 
 
 * * * * * A D D I T I O N A L   V I D E O S * * * * * * * * * * * * * * 
 F i l e   4 :   M e m b r a n e   a c t u a t i o n _ v i d e o   s h o w s   a n   e x a m p l e   o f   t h e   m e m b r a n e   b e i n g   a c t u a t e d   
 F i l e   5 :   O p t o s e n s o r _ t e s t   s h o w s   a   t e s t   o n   t h e   o p t o s e n s o r   t o   s h o w   h o w   i t   o p e r a t e s 
 
 
 
 